    var pivotStore = new Ext.data.Store({
    	url: './crossReport.report?method=query',
        autoLoad: false,
        reader: new Ext.data.JsonReader({
            idProperty: 'id'
        }, null)
    });
    var pivotGrid = new Ext.grid.PivotGrid({
    	id:'pivotgrid',
        store: pivotStore,
        aggregator: 'sum',
        measure   : 'value',
        border:false,
        viewConfig:{
    		title: ''
    	},
        renderer: function(value) {
    		if(value==0){
    			return '-';
    		}
    		return value;
    	}
    });